<?php

namespace adminmatrix\admin\logic;

use app\Request;
use think\response\Json;

interface interfaceLogic
{
    /**
     * 新增类
     * @return Json
     */
    public function save(Request $request) : bool;


    public function update(Request $request) : bool;


    public function delete(Request $request) : bool;

    public function get(Request $request , ?array $where = []) : mixed;


    public function set(string $name , mixed $value) : Json;


    public function value(string $name) : Json;

}